package com.whj.apipassenger.remote;

import com.whj.internalcommon.dto.ResponseResult;
import com.whj.internalcommon.request.ForecastPriceDTO;
import com.whj.internalcommon.response.ForecastPriceResponse;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @Auther: wanghaijun
 * @Date: 2023/1/9 - 01 - 09 - 14:15 
 * @Description: com.whj.apipassenger.remote
 */

@FeignClient("service-price")
public interface ServicePriceClient {

    @RequestMapping(method = RequestMethod.POST,value = "/forecast-price")
    public ResponseResult<ForecastPriceResponse> forecast(@RequestBody ForecastPriceDTO forecastPriceDTO);
}
